package com.aidong.liveVideo.biz;

import java.util.List;
import java.util.Map;

import com.aidong.liveVideo.entity.LiveVideoComment;
import com.aidong.liveVideo.entity.LiveVideoMoreList;
import com.aidong.liveVideo.entity.TrnLiveVideoComment;
import com.aidong.liveVideo.entity.TrnLiveVideoList;
import com.aidong.liveVideo.entity.TrnLiveVideoPraise;
import com.aidong.liveVideo.entity.TrnVideoLimit;
import com.aidong.videoComment.entity.Author;

public interface TrnLiveVideoBiz {
	/**
	 * 直播列表
	 * @param map
	 * @return
	 */
	public List<TrnLiveVideoList> getLiveVideoList(Map<String, Object> map);
	/**
	 * 观看人数
	 */
	public List<TrnLiveVideoList> getLivePersionCount(Map<String, Object> map);
	
	/**
	 * 获取无直播时的轮播图
	 */
	public  TrnLiveVideoList  getLiveHomeList();
	
	/**
	 * 直播下的视频分类
	 * @return
	 */
	public List<TrnVideoLimit> getVideoLimitList();
	
	/**
	 * 今日以后直播
	 * @param map
	 * @return
	 */
	public List<LiveVideoMoreList> getLiveVideoMoreList(Map<String, Object> map);
	/**
	 * 直播详细信息
	 * @param map
	 * @return
	 */
	public TrnLiveVideoList getLiveVideoDetail(Map<String, Object> map);
	
	/**
	 * 观看人列表
	 * @param map
	 * @return
	 */
	public List<Author> getLivePersionList(Map<String, Object> map);
	/**
	 * 保存评论
	 * @param videoLiveComment
	 * @return
	 */
	public int addLiveVideoComment(TrnLiveVideoComment videoLiveComment);
	/**
	 * 评论列表
	 * @return
	 */
	public List<LiveVideoComment> getLiveVideoCommentlList(Map<String,Object> map);
	
	/**
	 * 点赞
	 * @param liveVideoPraise
	 * @return
	 */
	public int addLiveVideoPraise(TrnLiveVideoPraise liveVideoPraise);
	
	/**
	 * 点赞和评论的人数
	 * @param map
	 * @return
	 */
	public TrnLiveVideoList getLiveVideoLike(Map<String, Object> map);
	/**
	 * 添加观看人
	 * @param map
	 * @return
	 */
	public int addLiveVideoPersion(Map<String,Object> map);
	/**
	 * 正在直播中人数和直播名称
	 * @param map
	 * @return
	 */
	public TrnLiveVideoList getLivePersion(Map<String, Object> map);
}
